package org.wzg.aityweb.Mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.wzg.aityweb.Entity.ConsultOrder;

@Mapper
public interface OrderConsultMapper {

    @Insert("insert into user_info(name,phone) values(#{name},#{phone})")
    void insertMsg(ConsultOrder order);

    @Select("select * from user_info where phone=#{phone}")
    ConsultOrder orderornot(String phone);
}
